
class activeColumnStatus{
 
  static read(buffer) {



        let offset = 0;
        const data = {};
        data.area = buffer.readUInt8(offset);
        offset+= 1;
        const count = buffer.length - offset;
        data.status = [];
        for(let i =0 ;i<count; ++i){
            data.status.push(buffer.readUInt8(offset));
            offset+= 1;
        }
        
        return data;
  

  }
  static type(){
    return "activeColumnStatus"
  }
  static command(){
    return Buffer.from([0xFE, 0xD8],"latin1").readInt16LE()
  }
}

module.exports = activeColumnStatus